<!DOCTYPE html>
<script>
'use strict';

if (window.testRunner) {
  testRunner.dumpAsText();
  testRunner.waitUntilDone();
}

function done() {
  if (window.testRunner) {
    testRunner.notifyDone();
  }
}
</script>
PASS if this does not crash
<iframe src="resources/entity-reference-loop.xml" onload="done();"></iframe>
